#ifndef MAIN_WINDOW_H
#define MAIN_WINDOW_H

#include <QWebEngineView>
#include <QPushButton>
#include <QLayout>
#include "WebPageHandle.h"

class MainWindow : public QWebEngineView
{
Q_OBJECT
public:
    explicit MainWindow(QWidget* parent = nullptr);

public:
    WebPageHandle *handle;
	QPushButton *maxButton{};
	QPushButton *minButton{};
	QPushButton *closeButton{};

protected:
	void showEvent(QShowEvent *event) override;
	void changeEvent(QEvent *event) override;

private:
	void SetupUi();
};


#endif //MAIN_WINDOW_H
